import request from '@/utils/request'
import { baseUrl } from './baseUrl'
//分页查询车辆列表
export function getCarsList(paramsData) {
          return request({
            url: baseUrl+ '/api/car/getCars',
            method: 'post',
            params: paramsData
          })
        }
//用户手机号查询车辆列表
export function searchByPhone(paramsData) {
          return request({
            url: baseUrl+ '/api/car/getCarsByUserPhone',
            method: 'post',
            params: paramsData
          })
        }
//根据车牌号查询车辆信息
export function searchByCarNum(paramsData) {
          return request({
            url: baseUrl+ '/api/car/getCarsByUserCarNum',
            method: 'post',
            params: paramsData
          })
        }
//修改车辆
export function modify(paramsData) {
          return request({
            url: baseUrl+ '/api/car/updateCarById',
            method: 'post',
            params: paramsData
          })
        }